<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>TestWatch</title>
    <script src="../public/vue.js"></script>
</head>
<body>
<div id="bind-example">
    <div v-bind:class="{ active: isActive }"></div>
    <div class="static" v-bind:class="{ active: isActive, 'text-danger': hasError }"></div>
</div>
</body>

<script type="text/javascript">
    let vm = new Vue({
        el: '#bind-example',
        data: {
            isActive: true,
            hasError: false
        }
    });
</script>
</html>